cmake_minimum_required(VERSION 2.6)

set( LIB_NAME arhosekskymodel )
project(arhosekskymodel)

set( HEADER_FILES
  arhosekskymodel.h
  arhosekskymodeldata_ciexyz.h
  arhosekskymodeldata_rgb.h
  arhosekskymodeldata_spectral.h
)

add_library( arhosekskymodel arhosekskymodel.c ${HEADER_FILES})

set_target_properties( arhosekskymodel PROPERTIES DEBUG_POSTFIX "d" )
set_source_files_properties( arhosekskymodel.c PROPERTIES LANGUAGE CXX )

install( FILES ${HEADER_FILES} DESTINATION include COMPONENT arhosekskymodel)
install( TARGETS arhosekskymodel ARCHIVE DESTINATION lib COMPONENT arhosekskymodel)

